package cn.shengchao.examstar.product.infrastructure.dao.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @program: examstarapi
 * @description: 课程设置(代理情况)
 * @author: Xiong weiqiang
 * @create: 2025-06-27 17:45
 */

@Data
@TableName("product_course_setting")
public class TProductCourseSetting {
    private Long id;
    private Long productId;
    private String productType;
    private Integer unitPayDay;
    private Date corpStartTime;
    private Date corpEndTime;
    private String refThirdId;
    private Integer dataStatus;
    private Long batchId;

    @TableField(value = "create_user")
    private Long createUser;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "update_user")
    private Long updateUser;

    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;
}